package demo1;

import java.util.ArrayList;
import java.util.List;

/**
 * @author GongXincheng
 * @since 2019-09-20 20:33
 */
public class Product {

    private List<String> list = new ArrayList<>();

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public void show() {
        list.forEach(System.out::println);
    }
}
